package com.freemyleft.left.left_app.bean;

import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import com.google.gson.reflect.TypeToken;

import org.json.JSONException;
import org.json.JSONObject;

import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.List;

public class UserBean {


    /**
     * result : {"id":"169","phone":"18910846910","cardname":"在读春","cardstatu":"2","cardtime":"1533708442","cardpic":["http://www.jiaoyuxuevip.com/upload/20180808/5b6a403c62616.jpg","http://www.jiaoyuxuevip.com/upload/20180808/5b6a403c62b12.jpg"],"cardaddr":"湖北省坊市固安具永康方正悦城小区5楼1单1602密","educationstatu":"2","educationtime":"1533690067","educationpic":["http://www.jiaoyuxuevip.com/upload/20180808/5b6a4057f3fd0.JPG"],"senioritystatu":"2","senioritytime":"1533690070","senioritypic":["http://www.jiaoyuxuevip.com/upload/20180808/5b6a406ad6118.jpg"],"assistid":"0","subjectonestatu":"2","subjecttwostatu":"0","subjectthreestatu":"0","subjectfourstatu":"0","subjectfivestatu":"0","subjectonetime":"1533690073","subjecttwotime":"0","subjectthreetime":"0","subjectfourtime":"0","subjectfivetime":"0","subjectonepic":["http://www.jiaoyuxuevip.com/upload/20180808/5b6a40b0acdb6.png"],"subjecttwopic":"","subjectthreepic":"","subjectfourpic":"","subjectfivepic":"","subjectoneid":"0","subjecttwoid":"0","subjectthreeid":"0","subjectfourid":"0","subjectfiveid":"0","subjectonename":"计算机与科学","subjecttwoname":"","subjectthreename":"","subjectfourname":"","subjectfivename":"","createtime":"2018-08-08 08:51:39","updatetime":"2018-08-13 15:55:23","teacherid":"4901512978","ban":"0","takelessonstatu":"0","isdel":"0","wxtoken":"0","qqtoken":"0","cityid":"1","cityname":"北京","credit":"0","head":"http://www.jiaoyuxuevip.com/upload/20180808/5b6a3ea937a86.jpg","nick":"奥特曼","teachertype":"全职教师","sex":"男","education":"大学本科","worktime":"1502380800","subject":",1,","grade":",1,","unit":"","unitlook":"1","oneselfinfo":"非常帅","inviteid":"0","lessonmoney":"0","lessonmoneystatu":"0","sharemoney":"0","sharestatu":"0","addr":"北京北京市东城区 广渠门外大街7号院","long":"116.45584947315739","lat":"39.89979061209239","teachertohome":"1","studenttohome":"1","shareaddr":"1","range":"999","famousteacher":"1","famousnumber":"16","classhour":"0","goodsnum":"1","breakcontractnum":"0","citypriceone":"120","citypricetwo":"130","citypricethree":"140","citypricefour":"150","citypricefive":"160","citypricesix":"170","citypriceseven":"180","citypriceeight":"200","citypricenine":"220","citypriceten":"230","citypriceeleven":"250","citypricetwelve":"270","remark":"","assigned":"70","lastlogin":"2018-08-20 08:20:40","ispush":"1","cardnum":"422201199312270877","label":"","token":"36G5y2","otheraddr":"1","ranking":"21","gradesubject":[{"id":"1","name":"一年级","value":[{"id":"1","name":"语文","value":[]}]}],"unittype":"大学","zhifubao":"","weixin":"","yinlian":"","num":"","planhour":"0"}
     * code : 1000
     * msg : 请求成功
     */

    private ResultBean result;
    private String code;
    private String msg;

    public static UserBean objectFromData(String str) {

        return new Gson().fromJson(str, UserBean.class);
    }

    public static UserBean objectFromData(String str, String key) {

        try {
            JSONObject jsonObject = new JSONObject(str);

            return new Gson().fromJson(jsonObject.getString(str), UserBean.class);
        } catch (JSONException e) {
            e.printStackTrace();
        }

        return null;
    }

    public static List<UserBean> arrayUserBeanFromData(String str) {

        Type listType = new TypeToken<ArrayList<UserBean>>() {
        }.getType();

        return new Gson().fromJson(str, listType);
    }

    public static List<UserBean> arrayUserBeanFromData(String str, String key) {

        try {
            JSONObject jsonObject = new JSONObject(str);
            Type listType = new TypeToken<ArrayList<UserBean>>() {
            }.getType();

            return new Gson().fromJson(jsonObject.getString(str), listType);

        } catch (JSONException e) {
            e.printStackTrace();
        }

        return new ArrayList();


    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class ResultBean {
        /**
         * id : 169
         * phone : 18910846910
         * cardname : 在读春
         * cardstatu : 2
         * cardtime : 1533708442
         * cardpic : ["http://www.jiaoyuxuevip.com/upload/20180808/5b6a403c62616.jpg","http://www.jiaoyuxuevip.com/upload/20180808/5b6a403c62b12.jpg"]
         * cardaddr : 湖北省坊市固安具永康方正悦城小区5楼1单1602密
         * educationstatu : 2
         * educationtime : 1533690067
         * educationpic : ["http://www.jiaoyuxuevip.com/upload/20180808/5b6a4057f3fd0.JPG"]
         * senioritystatu : 2
         * senioritytime : 1533690070
         * senioritypic : ["http://www.jiaoyuxuevip.com/upload/20180808/5b6a406ad6118.jpg"]
         * assistid : 0
         * subjectonestatu : 2
         * subjecttwostatu : 0
         * subjectthreestatu : 0
         * subjectfourstatu : 0
         * subjectfivestatu : 0
         * subjectonetime : 1533690073
         * subjecttwotime : 0
         * subjectthreetime : 0
         * subjectfourtime : 0
         * subjectfivetime : 0
         * subjectonepic : ["http://www.jiaoyuxuevip.com/upload/20180808/5b6a40b0acdb6.png"]
         * subjecttwopic :
         * subjectthreepic :
         * subjectfourpic :
         * subjectfivepic :
         * subjectoneid : 0
         * subjecttwoid : 0
         * subjectthreeid : 0
         * subjectfourid : 0
         * subjectfiveid : 0
         * subjectonename : 计算机与科学
         * subjecttwoname :
         * subjectthreename :
         * subjectfourname :
         * subjectfivename :
         * createtime : 2018-08-08 08:51:39
         * updatetime : 2018-08-13 15:55:23
         * teacherid : 4901512978
         * ban : 0
         * takelessonstatu : 0
         * isdel : 0
         * wxtoken : 0
         * qqtoken : 0
         * cityid : 1
         * cityname : 北京
         * credit : 0
         * head : http://www.jiaoyuxuevip.com/upload/20180808/5b6a3ea937a86.jpg
         * nick : 奥特曼
         * teachertype : 全职教师
         * sex : 男
         * education : 大学本科
         * worktime : 1502380800
         * subject : ,1,
         * grade : ,1,
         * unit :
         * unitlook : 1
         * oneselfinfo : 非常帅
         * inviteid : 0
         * lessonmoney : 0
         * lessonmoneystatu : 0
         * sharemoney : 0
         * sharestatu : 0
         * addr : 北京北京市东城区 广渠门外大街7号院
         * long : 116.45584947315739
         * lat : 39.89979061209239
         * teachertohome : 1
         * studenttohome : 1
         * shareaddr : 1
         * range : 999
         * famousteacher : 1
         * famousnumber : 16
         * classhour : 0
         * goodsnum : 1
         * breakcontractnum : 0
         * citypriceone : 120
         * citypricetwo : 130
         * citypricethree : 140
         * citypricefour : 150
         * citypricefive : 160
         * citypricesix : 170
         * citypriceseven : 180
         * citypriceeight : 200
         * citypricenine : 220
         * citypriceten : 230
         * citypriceeleven : 250
         * citypricetwelve : 270
         * remark :
         * assigned : 70
         * lastlogin : 2018-08-20 08:20:40
         * ispush : 1
         * cardnum : 422201199312270877
         * label :
         * token : 36G5y2
         * otheraddr : 1
         * ranking : 21
         * gradesubject : [{"id":"1","name":"一年级","value":[{"id":"1","name":"语文","value":[]}]}]
         * unittype : 大学
         * zhifubao :
         * weixin :
         * yinlian :
         * num :
         * planhour : 0
         */

        private String id;
        private String phone;
        private String cardname;
        private String cardstatu;
        private String cardtime;
        private String cardaddr;
        private String educationstatu;
        private String educationtime;
        private String senioritystatu;
        private String senioritytime;
        private String assistid;
        private String subjectonestatu;
        private String subjecttwostatu;
        private String subjectthreestatu;
        private String subjectfourstatu;
        private String subjectfivestatu;
        private String subjectonetime;
        private String subjecttwotime;
        private String subjectthreetime;
        private String subjectfourtime;
        private String subjectfivetime;
        private String subjecttwopic;
        private String subjectthreepic;
        private String subjectfourpic;
        private String subjectfivepic;
        private String subjectoneid;
        private String subjecttwoid;
        private String subjectthreeid;
        private String subjectfourid;
        private String subjectfiveid;
        private String subjectonename;
        private String subjecttwoname;
        private String subjectthreename;
        private String subjectfourname;
        private String subjectfivename;
        private String createtime;
        private String updatetime;
        private String teacherid;
        private String ban;
        private String takelessonstatu;
        private String isdel;
        private String wxtoken;
        private String qqtoken;
        private String cityid;
        private String cityname;
        private String credit;
        private String head;
        private String nick;
        private String teachertype;
        private String sex;
        private String education;
        private String worktime;
        private String subject;
        private String grade;
        private String unit;
        private String unitlook;
        private String oneselfinfo;
        private String inviteid;
        private String lessonmoney;
        private String lessonmoneystatu;
        private String sharemoney;
        private String sharestatu;
        private String addr;
        @SerializedName("long")
        private String longX;
        private String lat;
        private String teachertohome;
        private String studenttohome;
        private String shareaddr;
        private String range;
        private String famousteacher;
        private String famousnumber;
        private String classhour;
        private String goodsnum;
        private String breakcontractnum;
        private String citypriceone;
        private String citypricetwo;
        private String citypricethree;
        private String citypricefour;
        private String citypricefive;
        private String citypricesix;
        private String citypriceseven;
        private String citypriceeight;
        private String citypricenine;
        private String citypriceten;
        private String citypriceeleven;
        private String citypricetwelve;
        private String remark;
        private String assigned;
        private String lastlogin;
        private String ispush;
        private String cardnum;
        private String label;
        private String token;
        private String otheraddr;
        private String ranking;
        private String unittype;
        private String zhifubao;
        private String weixin;
        private String yinlian;
        private String num;
        private String planhour;
        private List<String> cardpic;
        private List<String> educationpic;
        private List<String> senioritypic;
        private List<String> subjectonepic;
        private List<GradesubjectBean> gradesubject;

        public static ResultBean objectFromData(String str) {

            return new Gson().fromJson(str, ResultBean.class);
        }

        public static ResultBean objectFromData(String str, String key) {

            try {
                JSONObject jsonObject = new JSONObject(str);

                return new Gson().fromJson(jsonObject.getString(str), ResultBean.class);
            } catch (JSONException e) {
                e.printStackTrace();
            }

            return null;
        }

        public static List<ResultBean> arrayResultBeanFromData(String str) {

            Type listType = new TypeToken<ArrayList<ResultBean>>() {
            }.getType();

            return new Gson().fromJson(str, listType);
        }

        public static List<ResultBean> arrayResultBeanFromData(String str, String key) {

            try {
                JSONObject jsonObject = new JSONObject(str);
                Type listType = new TypeToken<ArrayList<ResultBean>>() {
                }.getType();

                return new Gson().fromJson(jsonObject.getString(str), listType);

            } catch (JSONException e) {
                e.printStackTrace();
            }

            return new ArrayList();


        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getCardname() {
            return cardname;
        }

        public void setCardname(String cardname) {
            this.cardname = cardname;
        }

        public String getCardstatu() {
            return cardstatu;
        }

        public void setCardstatu(String cardstatu) {
            this.cardstatu = cardstatu;
        }

        public String getCardtime() {
            return cardtime;
        }

        public void setCardtime(String cardtime) {
            this.cardtime = cardtime;
        }

        public String getCardaddr() {
            return cardaddr;
        }

        public void setCardaddr(String cardaddr) {
            this.cardaddr = cardaddr;
        }

        public String getEducationstatu() {
            return educationstatu;
        }

        public void setEducationstatu(String educationstatu) {
            this.educationstatu = educationstatu;
        }

        public String getEducationtime() {
            return educationtime;
        }

        public void setEducationtime(String educationtime) {
            this.educationtime = educationtime;
        }

        public String getSenioritystatu() {
            return senioritystatu;
        }

        public void setSenioritystatu(String senioritystatu) {
            this.senioritystatu = senioritystatu;
        }

        public String getSenioritytime() {
            return senioritytime;
        }

        public void setSenioritytime(String senioritytime) {
            this.senioritytime = senioritytime;
        }

        public String getAssistid() {
            return assistid;
        }

        public void setAssistid(String assistid) {
            this.assistid = assistid;
        }

        public String getSubjectonestatu() {
            return subjectonestatu;
        }

        public void setSubjectonestatu(String subjectonestatu) {
            this.subjectonestatu = subjectonestatu;
        }

        public String getSubjecttwostatu() {
            return subjecttwostatu;
        }

        public void setSubjecttwostatu(String subjecttwostatu) {
            this.subjecttwostatu = subjecttwostatu;
        }

        public String getSubjectthreestatu() {
            return subjectthreestatu;
        }

        public void setSubjectthreestatu(String subjectthreestatu) {
            this.subjectthreestatu = subjectthreestatu;
        }

        public String getSubjectfourstatu() {
            return subjectfourstatu;
        }

        public void setSubjectfourstatu(String subjectfourstatu) {
            this.subjectfourstatu = subjectfourstatu;
        }

        public String getSubjectfivestatu() {
            return subjectfivestatu;
        }

        public void setSubjectfivestatu(String subjectfivestatu) {
            this.subjectfivestatu = subjectfivestatu;
        }

        public String getSubjectonetime() {
            return subjectonetime;
        }

        public void setSubjectonetime(String subjectonetime) {
            this.subjectonetime = subjectonetime;
        }

        public String getSubjecttwotime() {
            return subjecttwotime;
        }

        public void setSubjecttwotime(String subjecttwotime) {
            this.subjecttwotime = subjecttwotime;
        }

        public String getSubjectthreetime() {
            return subjectthreetime;
        }

        public void setSubjectthreetime(String subjectthreetime) {
            this.subjectthreetime = subjectthreetime;
        }

        public String getSubjectfourtime() {
            return subjectfourtime;
        }

        public void setSubjectfourtime(String subjectfourtime) {
            this.subjectfourtime = subjectfourtime;
        }

        public String getSubjectfivetime() {
            return subjectfivetime;
        }

        public void setSubjectfivetime(String subjectfivetime) {
            this.subjectfivetime = subjectfivetime;
        }

        public String getSubjecttwopic() {
            return subjecttwopic;
        }

        public void setSubjecttwopic(String subjecttwopic) {
            this.subjecttwopic = subjecttwopic;
        }

        public String getSubjectthreepic() {
            return subjectthreepic;
        }

        public void setSubjectthreepic(String subjectthreepic) {
            this.subjectthreepic = subjectthreepic;
        }

        public String getSubjectfourpic() {
            return subjectfourpic;
        }

        public void setSubjectfourpic(String subjectfourpic) {
            this.subjectfourpic = subjectfourpic;
        }

        public String getSubjectfivepic() {
            return subjectfivepic;
        }

        public void setSubjectfivepic(String subjectfivepic) {
            this.subjectfivepic = subjectfivepic;
        }

        public String getSubjectoneid() {
            return subjectoneid;
        }

        public void setSubjectoneid(String subjectoneid) {
            this.subjectoneid = subjectoneid;
        }

        public String getSubjecttwoid() {
            return subjecttwoid;
        }

        public void setSubjecttwoid(String subjecttwoid) {
            this.subjecttwoid = subjecttwoid;
        }

        public String getSubjectthreeid() {
            return subjectthreeid;
        }

        public void setSubjectthreeid(String subjectthreeid) {
            this.subjectthreeid = subjectthreeid;
        }

        public String getSubjectfourid() {
            return subjectfourid;
        }

        public void setSubjectfourid(String subjectfourid) {
            this.subjectfourid = subjectfourid;
        }

        public String getSubjectfiveid() {
            return subjectfiveid;
        }

        public void setSubjectfiveid(String subjectfiveid) {
            this.subjectfiveid = subjectfiveid;
        }

        public String getSubjectonename() {
            return subjectonename;
        }

        public void setSubjectonename(String subjectonename) {
            this.subjectonename = subjectonename;
        }

        public String getSubjecttwoname() {
            return subjecttwoname;
        }

        public void setSubjecttwoname(String subjecttwoname) {
            this.subjecttwoname = subjecttwoname;
        }

        public String getSubjectthreename() {
            return subjectthreename;
        }

        public void setSubjectthreename(String subjectthreename) {
            this.subjectthreename = subjectthreename;
        }

        public String getSubjectfourname() {
            return subjectfourname;
        }

        public void setSubjectfourname(String subjectfourname) {
            this.subjectfourname = subjectfourname;
        }

        public String getSubjectfivename() {
            return subjectfivename;
        }

        public void setSubjectfivename(String subjectfivename) {
            this.subjectfivename = subjectfivename;
        }

        public String getCreatetime() {
            return createtime;
        }

        public void setCreatetime(String createtime) {
            this.createtime = createtime;
        }

        public String getUpdatetime() {
            return updatetime;
        }

        public void setUpdatetime(String updatetime) {
            this.updatetime = updatetime;
        }

        public String getTeacherid() {
            return teacherid;
        }

        public void setTeacherid(String teacherid) {
            this.teacherid = teacherid;
        }

        public String getBan() {
            return ban;
        }

        public void setBan(String ban) {
            this.ban = ban;
        }

        public String getTakelessonstatu() {
            return takelessonstatu;
        }

        public void setTakelessonstatu(String takelessonstatu) {
            this.takelessonstatu = takelessonstatu;
        }

        public String getIsdel() {
            return isdel;
        }

        public void setIsdel(String isdel) {
            this.isdel = isdel;
        }

        public String getWxtoken() {
            return wxtoken;
        }

        public void setWxtoken(String wxtoken) {
            this.wxtoken = wxtoken;
        }

        public String getQqtoken() {
            return qqtoken;
        }

        public void setQqtoken(String qqtoken) {
            this.qqtoken = qqtoken;
        }

        public String getCityid() {
            return cityid;
        }

        public void setCityid(String cityid) {
            this.cityid = cityid;
        }

        public String getCityname() {
            return cityname;
        }

        public void setCityname(String cityname) {
            this.cityname = cityname;
        }

        public String getCredit() {
            return credit;
        }

        public void setCredit(String credit) {
            this.credit = credit;
        }

        public String getHead() {
            return head;
        }

        public void setHead(String head) {
            this.head = head;
        }

        public String getNick() {
            return nick;
        }

        public void setNick(String nick) {
            this.nick = nick;
        }

        public String getTeachertype() {
            return teachertype;
        }

        public void setTeachertype(String teachertype) {
            this.teachertype = teachertype;
        }

        public String getSex() {
            return sex;
        }

        public void setSex(String sex) {
            this.sex = sex;
        }

        public String getEducation() {
            return education;
        }

        public void setEducation(String education) {
            this.education = education;
        }

        public String getWorktime() {
            return worktime;
        }

        public void setWorktime(String worktime) {
            this.worktime = worktime;
        }

        public String getSubject() {
            return subject;
        }

        public void setSubject(String subject) {
            this.subject = subject;
        }

        public String getGrade() {
            return grade;
        }

        public void setGrade(String grade) {
            this.grade = grade;
        }

        public String getUnit() {
            return unit;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }

        public String getUnitlook() {
            return unitlook;
        }

        public void setUnitlook(String unitlook) {
            this.unitlook = unitlook;
        }

        public String getOneselfinfo() {
            return oneselfinfo;
        }

        public void setOneselfinfo(String oneselfinfo) {
            this.oneselfinfo = oneselfinfo;
        }

        public String getInviteid() {
            return inviteid;
        }

        public void setInviteid(String inviteid) {
            this.inviteid = inviteid;
        }

        public String getLessonmoney() {
            return lessonmoney;
        }

        public void setLessonmoney(String lessonmoney) {
            this.lessonmoney = lessonmoney;
        }

        public String getLessonmoneystatu() {
            return lessonmoneystatu;
        }

        public void setLessonmoneystatu(String lessonmoneystatu) {
            this.lessonmoneystatu = lessonmoneystatu;
        }

        public String getSharemoney() {
            return sharemoney;
        }

        public void setSharemoney(String sharemoney) {
            this.sharemoney = sharemoney;
        }

        public String getSharestatu() {
            return sharestatu;
        }

        public void setSharestatu(String sharestatu) {
            this.sharestatu = sharestatu;
        }

        public String getAddr() {
            return addr;
        }

        public void setAddr(String addr) {
            this.addr = addr;
        }

        public String getLongX() {
            return longX;
        }

        public void setLongX(String longX) {
            this.longX = longX;
        }

        public String getLat() {
            return lat;
        }

        public void setLat(String lat) {
            this.lat = lat;
        }

        public String getTeachertohome() {
            return teachertohome;
        }

        public void setTeachertohome(String teachertohome) {
            this.teachertohome = teachertohome;
        }

        public String getStudenttohome() {
            return studenttohome;
        }

        public void setStudenttohome(String studenttohome) {
            this.studenttohome = studenttohome;
        }

        public String getShareaddr() {
            return shareaddr;
        }

        public void setShareaddr(String shareaddr) {
            this.shareaddr = shareaddr;
        }

        public String getRange() {
            return range;
        }

        public void setRange(String range) {
            this.range = range;
        }

        public String getFamousteacher() {
            return famousteacher;
        }

        public void setFamousteacher(String famousteacher) {
            this.famousteacher = famousteacher;
        }

        public String getFamousnumber() {
            return famousnumber;
        }

        public void setFamousnumber(String famousnumber) {
            this.famousnumber = famousnumber;
        }

        public String getClasshour() {
            return classhour;
        }

        public void setClasshour(String classhour) {
            this.classhour = classhour;
        }

        public String getGoodsnum() {
            return goodsnum;
        }

        public void setGoodsnum(String goodsnum) {
            this.goodsnum = goodsnum;
        }

        public String getBreakcontractnum() {
            return breakcontractnum;
        }

        public void setBreakcontractnum(String breakcontractnum) {
            this.breakcontractnum = breakcontractnum;
        }

        public String getCitypriceone() {
            return citypriceone;
        }

        public void setCitypriceone(String citypriceone) {
            this.citypriceone = citypriceone;
        }

        public String getCitypricetwo() {
            return citypricetwo;
        }

        public void setCitypricetwo(String citypricetwo) {
            this.citypricetwo = citypricetwo;
        }

        public String getCitypricethree() {
            return citypricethree;
        }

        public void setCitypricethree(String citypricethree) {
            this.citypricethree = citypricethree;
        }

        public String getCitypricefour() {
            return citypricefour;
        }

        public void setCitypricefour(String citypricefour) {
            this.citypricefour = citypricefour;
        }

        public String getCitypricefive() {
            return citypricefive;
        }

        public void setCitypricefive(String citypricefive) {
            this.citypricefive = citypricefive;
        }

        public String getCitypricesix() {
            return citypricesix;
        }

        public void setCitypricesix(String citypricesix) {
            this.citypricesix = citypricesix;
        }

        public String getCitypriceseven() {
            return citypriceseven;
        }

        public void setCitypriceseven(String citypriceseven) {
            this.citypriceseven = citypriceseven;
        }

        public String getCitypriceeight() {
            return citypriceeight;
        }

        public void setCitypriceeight(String citypriceeight) {
            this.citypriceeight = citypriceeight;
        }

        public String getCitypricenine() {
            return citypricenine;
        }

        public void setCitypricenine(String citypricenine) {
            this.citypricenine = citypricenine;
        }

        public String getCitypriceten() {
            return citypriceten;
        }

        public void setCitypriceten(String citypriceten) {
            this.citypriceten = citypriceten;
        }

        public String getCitypriceeleven() {
            return citypriceeleven;
        }

        public void setCitypriceeleven(String citypriceeleven) {
            this.citypriceeleven = citypriceeleven;
        }

        public String getCitypricetwelve() {
            return citypricetwelve;
        }

        public void setCitypricetwelve(String citypricetwelve) {
            this.citypricetwelve = citypricetwelve;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public String getAssigned() {
            return assigned;
        }

        public void setAssigned(String assigned) {
            this.assigned = assigned;
        }

        public String getLastlogin() {
            return lastlogin;
        }

        public void setLastlogin(String lastlogin) {
            this.lastlogin = lastlogin;
        }

        public String getIspush() {
            return ispush;
        }

        public void setIspush(String ispush) {
            this.ispush = ispush;
        }

        public String getCardnum() {
            return cardnum;
        }

        public void setCardnum(String cardnum) {
            this.cardnum = cardnum;
        }

        public String getLabel() {
            return label;
        }

        public void setLabel(String label) {
            this.label = label;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public String getOtheraddr() {
            return otheraddr;
        }

        public void setOtheraddr(String otheraddr) {
            this.otheraddr = otheraddr;
        }

        public String getRanking() {
            return ranking;
        }

        public void setRanking(String ranking) {
            this.ranking = ranking;
        }

        public String getUnittype() {
            return unittype;
        }

        public void setUnittype(String unittype) {
            this.unittype = unittype;
        }

        public String getZhifubao() {
            return zhifubao;
        }

        public void setZhifubao(String zhifubao) {
            this.zhifubao = zhifubao;
        }

        public String getWeixin() {
            return weixin;
        }

        public void setWeixin(String weixin) {
            this.weixin = weixin;
        }

        public String getYinlian() {
            return yinlian;
        }

        public void setYinlian(String yinlian) {
            this.yinlian = yinlian;
        }

        public String getNum() {
            return num;
        }

        public void setNum(String num) {
            this.num = num;
        }

        public String getPlanhour() {
            return planhour;
        }

        public void setPlanhour(String planhour) {
            this.planhour = planhour;
        }

        public List<String> getCardpic() {
            return cardpic;
        }

        public void setCardpic(List<String> cardpic) {
            this.cardpic = cardpic;
        }

        public List<String> getEducationpic() {
            return educationpic;
        }

        public void setEducationpic(List<String> educationpic) {
            this.educationpic = educationpic;
        }

        public List<String> getSenioritypic() {
            return senioritypic;
        }

        public void setSenioritypic(List<String> senioritypic) {
            this.senioritypic = senioritypic;
        }

        public List<String> getSubjectonepic() {
            return subjectonepic;
        }

        public void setSubjectonepic(List<String> subjectonepic) {
            this.subjectonepic = subjectonepic;
        }

        public List<GradesubjectBean> getGradesubject() {
            return gradesubject;
        }

        public void setGradesubject(List<GradesubjectBean> gradesubject) {
            this.gradesubject = gradesubject;
        }

        public static class GradesubjectBean {
            /**
             * id : 1
             * name : 一年级
             * value : [{"id":"1","name":"语文","value":[]}]
             */

            private String id;
            private String name;
            private List<ValueBean> value;

            public static GradesubjectBean objectFromData(String str) {

                return new Gson().fromJson(str, GradesubjectBean.class);
            }

            public static GradesubjectBean objectFromData(String str, String key) {

                try {
                    JSONObject jsonObject = new JSONObject(str);

                    return new Gson().fromJson(jsonObject.getString(str), GradesubjectBean.class);
                } catch (JSONException e) {
                    e.printStackTrace();
                }

                return null;
            }

            public static List<GradesubjectBean> arrayGradesubjectBeanFromData(String str) {

                Type listType = new TypeToken<ArrayList<GradesubjectBean>>() {
                }.getType();

                return new Gson().fromJson(str, listType);
            }

            public static List<GradesubjectBean> arrayGradesubjectBeanFromData(String str, String key) {

                try {
                    JSONObject jsonObject = new JSONObject(str);
                    Type listType = new TypeToken<ArrayList<GradesubjectBean>>() {
                    }.getType();

                    return new Gson().fromJson(jsonObject.getString(str), listType);

                } catch (JSONException e) {
                    e.printStackTrace();
                }

                return new ArrayList();


            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public List<ValueBean> getValue() {
                return value;
            }

            public void setValue(List<ValueBean> value) {
                this.value = value;
            }

            public static class ValueBean {
                /**
                 * id : 1
                 * name : 语文
                 * value : []
                 */

                private String id;
                private String name;
                private List<?> value;

                public static ValueBean objectFromData(String str) {

                    return new Gson().fromJson(str, ValueBean.class);
                }

                public static ValueBean objectFromData(String str, String key) {

                    try {
                        JSONObject jsonObject = new JSONObject(str);

                        return new Gson().fromJson(jsonObject.getString(str), ValueBean.class);
                    } catch (JSONException e) {
                        e.printStackTrace();
                    }

                    return null;
                }

                public static List<ValueBean> arrayValueBeanFromData(String str) {

                    Type listType = new TypeToken<ArrayList<ValueBean>>() {
                    }.getType();

                    return new Gson().fromJson(str, listType);
                }

                public static List<ValueBean> arrayValueBeanFromData(String str, String key) {

                    try {
                        JSONObject jsonObject = new JSONObject(str);
                        Type listType = new TypeToken<ArrayList<ValueBean>>() {
                        }.getType();

                        return new Gson().fromJson(jsonObject.getString(str), listType);

                    } catch (JSONException e) {
                        e.printStackTrace();
                    }

                    return new ArrayList();


                }

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public List<?> getValue() {
                    return value;
                }

                public void setValue(List<?> value) {
                    this.value = value;
                }
            }
        }
    }
}
